﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace GravityBallScreenSaver
{
    class Random
    {
        internal static System.Random rnd = new System.Random();

        internal static float GetRandom(float min, float max)
        {
            return (float)rnd.NextDouble() * (max - min) + min;
        }

        internal static int GetRandom(int min, int max)
        {
            return rnd.Next(min, max);
        }

    }
}
